﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebScraperLibrary;

namespace ConsoleDebugger
{
    class Program
    {
        static void Main(string[] args)
        {
            var parser = new TvNuParser();
            var scraper = new WebScraper();

            var data = scraper.GetDataFromUrl("http://www.tv.nu/kanal/svt1");
            data = parser.GetProgramsData(data);

            Console.WriteLine(parser.GetTimeAndShow(data));
            Console.ReadKey(); 
        }
    }
}
